#define _CRT_SECURE_NO_WARNINGS 1
#include "stack.h"

int main()
{
	char s[50] = "()";
	printf("%d", isValid(s));
}